import service from '@/utils/request'

// @Tags IdCardDecode
// @Summary 创建IdCardDecode
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.IdCardDecode true "创建IdCardDecode"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /idCardDecode/createIdCardDecode [post]
export const createIdCardDecode = (data) => {
     return service({
         url: "/idCardDecode/createIdCardDecode",
         method: 'post',
         data
     })
 }


// @Tags IdCardDecode
// @Summary 删除IdCardDecode
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.IdCardDecode true "删除IdCardDecode"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /idCardDecode/deleteIdCardDecode [delete]
 export const deleteIdCardDecode = (data) => {
     return service({
         url: "/idCardDecode/deleteIdCardDecode",
         method: 'delete',
         data
     })
 }

// @Tags IdCardDecode
// @Summary 删除IdCardDecode
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除IdCardDecode"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /idCardDecode/deleteIdCardDecode [delete]
 export const deleteIdCardDecodeByIds = (data) => {
     return service({
         url: "/idCardDecode/deleteIdCardDecodeByIds",
         method: 'delete',
         data
     })
 }

// @Tags IdCardDecode
// @Summary 更新IdCardDecode
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.IdCardDecode true "更新IdCardDecode"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /idCardDecode/updateIdCardDecode [put]
 export const updateIdCardDecode = (data) => {
     return service({
         url: "/idCardDecode/updateIdCardDecode",
         method: 'put',
         data
     })
 }


// @Tags IdCardDecode
// @Summary 用id查询IdCardDecode
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.IdCardDecode true "用id查询IdCardDecode"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /idCardDecode/findIdCardDecode [get]
 export const findIdCardDecode = (params) => {
     return service({
         url: "/idCardDecode/findIdCardDecode",
         method: 'get',
         params
     })
 }


// @Tags IdCardDecode
// @Summary 分页获取IdCardDecode列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取IdCardDecode列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /idCardDecode/getIdCardDecodeList [get]
 export const getIdCardDecodeList = (params) => {
     return service({
         url: "/idCardDecode/getIdCardDecodeList",
         method: 'get',
         params
     })
 }